<template>
  <div>
    <el-table :data="list" cell-class-name="tableColumn" size="small" height="500px">
      <el-table-column label="code" prop="code" align="center" />
      <el-table-column label="名称" prop="name" align="center" />
      <el-table-column label="行业" prop="industry" align="center" />
    </el-table>
  </div>
</template>

<script>
import { getSharesPool } from '@/api/base'
export default {
  data() {
    return {
      list: []
    }
  },
  mounted() {
    this.getSharesPool()
  },
  methods: {
    async getSharesPool() {
      const { list } = await getSharesPool()
      // console.log(res)
      this.list = list
    }
  }
}
</script>

<style>

</style>
